# -*- coding: utf-8 -*-
from dwjjCoreClientScripts.common import consts, logger

from mod.common.mod import Mod
import mod.client.extraClientApi as clientApi


@Mod.Binding(name=consts.ClientModName, version=consts.ModVersion)
class Main(object):
    def __init__(self):
        logger.Suc("==== mod [" + consts.ClientModName + "] enable ====")

    @Mod.InitClient()
    def ClientInit(self):
        clientApi.RegisterSystem(consts.ClientModName, consts.ClientSystemName, consts.ClientSystemPath)

    @Mod.DestroyClient()
    def ClientDestroy(self):
        pass
